<!--消息添加-->
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!-- 导入头部top文件 start -->
<%@include file="../common/header.jsp" %>
<body>
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox-title">
                <h5>消息信息</h5>
            </div>
            <div class="ibox-content">
                <form class="form-horizontal m-t" id="mainForm" method="post">
                    <input type="hidden" id="id" name="id" value="${model.id}"/>

                    <div class="wrapper wrapper-content animated fadeInRight">
                        <div class="row">
                            <div class="col-sm-12">
                                <div class="tab-content" style="margin-top: 10px;">
                                    <div id="tab-1" class="tab-pane active">

                                        <div class="form-group">
                                            <label class="col-sm-3 control-label">消息信息：*</label>

                                            <div class="col-sm-8">
                                                <input id="name" name="name" type="text" value="${model.name}"
                                                       class="form-control" required="" aria-required="true">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label">消息类型：*</label>

                                            <div class="col-sm-8">
                                                <input id="msgType" name="msgType" type="hidden"
                                                       value="${model.msgType}">
                                                <input id="msgTypeName" name="msgTypeName"
                                                       value="${model.msgTypeName}" class="form-control"
                                                       aria-required="true">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label">链接地址：</label>

                                            <div class="col-sm-8">
                                                <input id="url" type="text" value="${model.url}"
                                                       class="form-control" name="url">
                                            </div>
                                        </div>


                                        <div class="form-group">
                                            <div class="col-sm-4 col-sm-offset-3">
                                                <button class="btn btn-primary" type="submit" id="idSubmit">提交
                                                </button>
                                            </div>
                                        </div>
                                    </div>
                                    <div id="tab-2" class="tab-pane">
                                        <div class="form-group">
                                            <textarea id="content" name="content"></textarea>
                                        </div>
                                    </div>
                                    <div id="tab-3" class="tab-pane">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
                <script src="/static/js/jquery.min.js?v=2.1.4"></script>
                <script src="/static/js/bootstrap.min.js?v=3.3.5"></script>
                <script src="/static/js/content.min.js?v=1.0.0"></script>
                <script src="/static/js/plugins/validate/jquery.validate.min.js"></script>
                <script src="/static/js/plugins/validate/messages_zh.min.js"></script>
                <script src="/static/js/plugins/dialog/dialog-min.js"></script>
                <script src="/static/js/plugins/dialog/dialog-plus-min.js"></script>
                <script src="/static/js/plugins/ueditor/ueditor.config.js"></script>
                <script src="/static/js/plugins/ueditor/ueditor.all.min.js"></script>
                <script src="/static/js/cateDialog.js"></script>

            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    var id = "${model.id}";
    var status = "${status}";
    var detailCate;
</script>
<script src="/static/js/admin/sysMessages.js"></script>
</body>
</html>

